﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SharedGenomics.Workbench.Annotations;

namespace SharedGenomics.Workbench.Tests.TestObjects
{
    public class TestAnnotationRequestStatusNotifier : IAnnotationRequestStatusNotifiable
    {
        public TestAnnotationRequestStatusNotifier(object target)
        {
            this.AnnotationTarget = target;
        }

        public bool WasNotified { get; private set; }
        public object AnnotationTarget { get; private set; }

        public void Notify(AnnotationRequestResult result)
        {
            this.WasNotified = true;
        }
    }
}
